package com.example.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.domain.MaPropertities;

@RestController
public class HelloWorldController {

	@Autowired
	private MaPropertities mapro;
	
	@RequestMapping(value="/hello1",produces="application/json;charset=UTF-8")
    public String index() {
        return "Hello World 1212113";
    }
	
	
	@RequestMapping(value="/propert",produces="application/json;charset=UTF-8")
    public MaPropertities properties() {
        return mapro;
    }
	
	
}
